<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="utf-8"%>
<%@ include file="/public/pathvariable.jsp" %>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<meta http-equiv="pragma" content="no-cache"> 
		<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"> 
		<meta http-equiv="expires" content="0">
		<title>元搜索编辑</title>
		<link rel="stylesheet" href="<%=basePath %>css/style.css">
		<link rel="stylesheet" href="<%=basePath %>css/msg.css">
		<link rel="stylesheet" href="<%=basePath %>css/ui_base.css">
		<link rel="stylesheet" href="<%=basePath %>css/f_style.css">
		<link rel="stylesheet" href="<%=basePath %>js/Jcrop/css/jquery.Jcrop.css">
	</head>
	<style>
		textarea:focus{outline:none;}
	</style>
	<body >
<%-- 		<input type="hidden" id="headUserId" value="${userinfo.userId}" /> --%>
<%-- 		<input type="hidden" id="headUserAccount" value="${userinfo.userAccount}" /> --%>
		<div class="right" ng-app="editApp">
			<!--内容区-->
			<div class="msg_info_table" ng-controller="editCtrl">
				<form name="signup_form" novalidate>
				<table width="100%" border="0" cellspacing="1" cellpadding="0" class="mtable">
					<tr>
						<th scope="row" width="80" height="50">关键词</th>
						<td>
							<input type="text" class="ui_text disui" ng-model="vm.keywords_seek"  style="width:600px" id="keyword" name="keyword" 
								ng-class="{error:signup_form.keyword.$dirty&&signup_form.keyword.$invalid}" required ng-minlength="1" ng-maxlength="50">
							<span class="error">
								<small class="error" ng-show="signup_form.keyword.$error.required" style="color:red">
									&nbsp; * 关键词不能为空 !
								</small>
								<small class="error" ng-show="signup_form.keyword.$error.minlength||signup_form.keyword.$error.maxlength" style="color:red">
									&nbsp; * 关键词字符长度为1-50 !
								</small>
							</span>
						</td>
					</tr>
					<tr>
						<th scope="row" width="80" height="50">搜索引擎</th>
						<td>
							<div style="float:left">
                         		<span id="match_title" class="ui_checkbox" ng-click="isChecked($event.target)"></span>&nbsp;百度&nbsp;&nbsp;
                        	</div>
                        </td>
					</tr>
					
				</table>
				</form>
				<div class="btn_bk">
					<a href="javascript:void(0)" class="ui_btn yellow release" ng-click="Update()">确定</a>
					<a href="javascript:void(0)" class="ui_btn green" ng-click="close('')">取消</a>
				</div>
			</div>
			<!--内容区-->
		</div>

		
		
	</body>
	
    <script src="<%=basePath %>js/jquery.min.1.8.2.js"></script>
        <script src="<%=basePath %>js/jquery.easing.1.3.js"></script>
        <script src="<%=basePath %>js/jquery.mousewheel.js"></script>
        <script src="<%=basePath %>js/layer/layer.min.js"></script>
        <script src="<%=basePath %>js/angular.min.1.2.5.js"></script>
       <script src="<%=basePath %>js/laydate/laydate.js"></script>
       <script src="<%=basePath %>js/config.js"></script>
       <script src="<%=basePath %>js/Jcrop/js/jquery.Jcrop.js" defer></script>
       <script src="<%=basePath %>js/f_layout.js"></script>
       <script src="<%=basePath %>js/f_paging.js"></script>
       <script src="<%=basePath %>resource/js/angular.metasearchEdit.js"></script>
       <script type="text/javascript">
    var basePath = "<%=basePath%>";
    </script>
</html>